//面包屑
const path = ['销售管理', '发票管理', '发票记录报表'];
//搜索条件
const filterOption = {
	items: [{
		label: "单据编号",
		type: "input",
		data: undefined,
		placeholder: "",
		value: undefined,
		key: "keyword"
	},
	{
		label: "业务单据",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "bbb"
	},
	{
		label: "单据状态",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "ccc"
	},
	{
		label: "开票状态",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "ddd"
	},
	{
		label: "来源渠道",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "ee"
	},
	{
		label: "发票号",
		type: "input",
		data: undefined,
		placeholder: "",
		value: undefined,
		key: "eee"
	},
	{
		label: "是否锁定",
		type: "dropdown",
		data: [],
		placeholder: "请选择",
		value: undefined,
		key: "eea"
	},
	{
		label: "单据创建日期",
		type: "datetimerange",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "createTime"
	},{
		label: "开票日期",
		type: "datetimerange",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "openTime"
	},{
		label: "出库日期",
		type: "datetimerange",
		data: undefined,
		placeholder: "请选择",
		value: undefined,
		key: "leaveTime"
	}],
	btnGroup: [{
			label: "查询",
			type: "search"
		},{
			label: "查询导出",
			type: "export"
		},{
			label: "清除",
			type: "clear"
		}
	],
	close: true
};
//运费模板列表
const tableHeaderData = [
	{
		prop:'indexNumber',
		label:'序号',
		width:''
	},
	{
		prop:'bbb',
		label:'业务单据',
		width:''
	},
	{
		prop:'ccc',
		label:'单据编号',
		width:''
	},
	{
		prop:'ddd',
		label:'单据状态',
		width:''
	},
	{
		prop:'eee',
		label:'单据创建日期',
		width:''
	},
	{
		prop:'ggg',
		label:'来源渠道',
		width:''
	},
	{
		prop:'a',
		label:'订单金额/售后订单金额',
		width:''
	},
	{
		prop:'aa',
		label:'应付总金额',
		width:''
	},
	{
		prop:'b',
		label:'发票抬头',
		width:''
	},
	{
		prop:'c',
		label:'发票号',
		width:''
	},
	{
		prop:'d',
		label:'发票金额',
		width:''
	},
	{
		prop:'e',
		label:'开票日期',
		width:''
	},
	{
		prop:'f',
		label:'锁定状态',
		width:''
	},
	{
		prop:'h',
		label:'开票状态',
		width:''
	},
	{
		prop:'i',
		label:'出库单',
		width:''
	},
	{
		prop:'j',
		label:'出库日期',
		width:''
    }
]
//表格数据
const tableData = [];
//操作日志表格
const logTableHeadr = [
	{
		prop:'a',
		label:'时间',
		width:''
    },{
		prop:'b',
		label:'操作人',
		width:''
    },{
		prop:'c',
		label:'操作记录',
		width:''
    }
]

//分页数据
const paginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total:1,
	num1:1,
	num2:1
}

//操作日志分页数据 
const logPaginationObject = {
	currentPage: 1,
	pageSize: 1,
	pageTotal: 1,
	total:1,
	num1:1,
	num2:1
}
let Model = {
	data() {
		return {
			Model: {
				path: path,
				paginationObject,
				filterOption: filterOption,
				tableHeaderData,							
				tableData,
				operateLogPop:false,
				logTable:[],
				logTableHeadr,
				logPaginationObject
			}
		}
	}
}
export default Model;
